package com.delu.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * vip表
 * </p>
 *
 * @author 6子的爹
 * @since 2021-12-18
 */


public class Vip implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "vip_id")
    private Long vipId;

    @ApiModelProperty(value = "会员等级名称")
    @TableField("vip_name")
    private String vipName;

    @ApiModelProperty(value = "升级所需分数")
    @TableField("score")
    private Integer score;

    @ApiModelProperty(value = "积分倍速")
    @TableField("speed")
    private BigDecimal speed;

    public Vip(Long vipId, String vipName, Integer score, BigDecimal speed) {
        this.vipId = vipId;
        this.vipName = vipName;
        this.score = score;
        this.speed = speed;
    }

    public Vip() {
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getVipId() {
        return vipId;
    }

    public void setVipId(Long vipId) {
        this.vipId = vipId;
    }

    public String getVipName() {
        return vipName;
    }

    public void setVipName(String vipName) {
        this.vipName = vipName;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public BigDecimal getSpeed() {
        return speed;
    }

    public void setSpeed(BigDecimal speed) {
        this.speed = speed;
    }
}
